package com.POJO;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Package com.POJO
 * @Date 2024-05-23 11:17
 * 分数修改申请类
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
public class GradeRequest {
    private int requestId;
    private int studentId;
    private int subjectId;
    private double requestedGrade;
    private String status; // "pending", "approved", "rejected"
    private String reason; // 理由

    public GradeRequest(int studentId, int subjectId, String reason, double requestedGrade, String status) {
        this.studentId = studentId;
        this.subjectId = subjectId;
        this.reason = reason;
        this.requestedGrade = requestedGrade;
        this.status = status;
    }
}
